﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media.Animation;
using System.Windows.Interactivity;
using myLiveMesh.Models.WindowManager;
using myLiveMesh.Views.Auth;

namespace myLiveMesh.ViewModels.WindowManager
{
    public class windowViewModel : viewModelBase 
        
    {
        #region fields

        private windowModel _window;
 
        #endregion

        #region constructors

        public windowViewModel()
        {
            this._window = new windowModel();
        }

        #endregion

        #region members

        public FrameworkElement TranslateZone
        {
            get { return this._window.TranslateZone; }
        }

        public string Title
        {
            get { return this._window.Title; }
            set 
            {
                this._window.Title = value;
                OnPropertyChanged("windowTitle");
            }
        }

        public Image Icon
        {
            get { return this._window.Icon; }
            set
            {
                this._window.Icon = value;
                OnPropertyChanged("windowIcon");
            }
        }
        #endregion
    }
}
